using System.ComponentModel;
using SF.Code.Extension.HttpHelper.Downloader;

namespace SG.Productivity.DesktopControlPanel.ParallelQuery
{
    public class ProviderQueryWebClientBagBase : WebClientBag<QueryIdentifier, ProviderQueryResult, ProviderQueryResultCache, ProviderQueryResultEventArgs, ProviderQueryConverter>
    {
        public ProviderQueryWebClientBagBase()
            : this(null)
        {
            
        }

        public ProviderQueryWebClientBagBase(IContainer container)
            : base(container)
        {
            // calling base
        }


        protected override ProviderQueryConverter GetDefaultConverter()
        {
            return new ProviderQueryConverter(Container);
        }

        protected override ProviderQueryResultCache GetDefaultCache()
        {
            return new ProviderQueryResultCache(Container);
        }
    }
}